basic JS eval on HTML5 canvas