replaced 'this' with '@'...the coffeescript way.