cleaned up some issues with canvas.js and added player behavior controller