added generic token.js file