using require() to get version number instead of version.js