Refactors Discourse.SearchController to use var self = this; convention