added javascript specs to ensure basic login dialog dom structure