Including files based on UA with JavaScript

If an alert is displayed, you are using an iPhone or Android device