Updated token.js to save JSON with 4 spaces tab