updated .js for android