Create controls.js

This file has functions that I use as tools for responding to user input.