Remove reliance on jQuery, add support for Win8, remove text entry

Also supports shifted viewport on iOS (eg if the keyboard is displaying), fixes for multiple touch inputs, drawing 'outside the box' and right-clicks