Migrated attributes.js

gpf.define