moved js for alert and sign in to proper directory