Ust 3184/dev/detect javascript

Error messages added on login, and common layout.

ticket : http://www.rudder-project.org/redmine/issues/3184