Added entity token generator javascript.