Using 'this' in Engine.js