Add version dir to JS files