Crafty.frame function not working - Fixes #688

The frame function is initiated in the Crafty object but also in the Crafty.timer function as a local variable.

Thanks to @cjbrowne for pointing it out.