fix js urls to be absolute