Added boilerplate javascript canvas setup