Started login javascript