Added strict mode for canvasTerrain.js

Added strict mode, removed extra semi colons.