Implementing HumanName and Identifier in the JavaScript generator