Fixed JS updation on profile-edit page