made js files relative