Fix property names in create-attributes.js

The getter for attributes[name].location had
a few property names missing an underscore.
Merge pull request #2 from hughsk/patch-1

Fix property names in create-attributes.js