fixed js for login in so first field gets focus