Edited main phonegap core to try and preload views