[js] expose obj_has_property()
[graphics] make sure evaluated canvas has 'pixelDraw' property
[graphics] remove assertion. proper checks are in store
[graphics] make sure graphics object has a valid canvas_id