make js files local for ssl