Added '$' to predefined jslint objects. Fixed jslint errors in model/self.js file.