added canvas helper function and new dev-console folder for js stuff