add --amd flag, fixes #14
minor jshint change, updated changelog
trivial change
Merge pull request #19 from jamsyoung/amd

The --amd flag!