Fixed invalid function calls in ember-1.2.0-rhino, fixes #6