Fix property names in create-attributes.js

The getter for attributes[name].location had
a few property names missing an underscore.