How to use two functions for clientside callbacks within js-files

Try removing the trailing comma.