small typo fix in bottle if/end syntax
removed depreciated console.log call
Merge branch 'master' into dev

fixed duplicate canvas issue on aunch