Remove debugging code
Fix missing semicolons
For jshint, ignore unused vars in function
No sidebar when there are no controls
Request plot height proportional to number of controls