Crossbrowser support added
Support for arrow keys added
Minor improves in parsing input values using tokens