fix login tests
add public/js/ dir