Minify all the JS in one file

Only for the password list view. Add a hook for git to automatically
compress all the JS files when a commit is made. It ensures that the
minified file is always up to date.