adding some testing code for engine.js
Merge branch 'master' of github.com:tommituura/canvas-html5-base