Merge code from @ceoaliongroo #3 PR. For #2.
Fix jshint issue.
Create dist versions.