Prevent (own) password changes via saving profile

+fix jshint complaining about search controller