Made all js and css local. Minor changes to make it work on android.