Update package.json
don't require 'new'
Merge branch 'master' of github.com:grncdr/foreign-state
Use amdefine for AMD compatibility