Fix coding style in src/display/canvas.js
Fix coding style in src/display/api.js
Merge pull request #4465 from Snuffleupagus/src-display-braces

Fix coding style in src/display