added js-specs for login dialog