fixed ReadiumSDK Javascript events