Creating logic for OS detection

Runs different .js files now for iOS and DroidOS