Javascript toggle functionality, added no-js class to application

and login layouts