Remove direct internet call for js files