Added javascript files to login handlebars to avoid errors