Added cross browser code(not tested)
updated
Merge branch 'master' of https://github.com/Matsumodo/Input.js