clean js file for edit profile