fix the profile page editor js