Add test for remote resource
Cleans
JsHint, JsBeautifer, use strict