js file updated for Android