Vanilla changes

Hi there,

We've used a modified version of your JavaScript in our code and thought we'd share our changes back to the original project.  Unfortunately it looks like github has failed to handle whitespace changes so it treats it as a whole-file replacement.  Hopefully there's some useful snippets in there for you.

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 multi-touch inputs, drawing whilst 'outside the box' and right-clicks