Create controlls.js

From https://developer.mozilla.org/en-US/demos/detail/minipaint