updated the defer method to take the execution context as first parameter

The boilderplate repository also needs an update, because the debugpanel is registered via a deferred call in game.js.