For Amazon HTML5 apps