JS File Updates

committed updates to JS for remote php my sql queires for profile data
populate and authentication