Add versionPath to index.js