Added comments

Added additional comments to controls.js and canvas.js