Modifying js to call changeProfileImage