add andriod check to script.js