Make remote resources local

Steps to reproduce the issue.

1. On chrome open https://aerogear.org
2. Watch the failures on console

![](http://photon.abstractj.org/AeroGear_-_Open_Source_Libraries_for_Mobile_Connectivity_2014-12-03_15-49-38.jpg)