implemented javascript test in cucumber as part of edit_profiles feature tests