Extended JavaScript Events For Cross Platform Compatablity.