added version.js to webapp/chrome extension

this pr just add the version.js module to webapp and chrome-extension