Implemented mouse and keyboard javascript support
Added time-out when waiting for request
added MediaController, use of mouse and keyboard.js now use correct case