more moving getting ready to remove globals
a bit of linting
added grunt replace
first pass canvas class