Adds function for getting canvas width and height.
Merge branch 'compiler'

Conflicts:
	editor/js/editor.js