Completed some JS for the profile