make js files ref to root