Create controller.js

Digital and analog controller for web-kit browser.