Move controls.js into a javascript specific subfolder

Doing some house cleaning to make the codebase more maintainable.