Noting that inhertance works on another brach
Update package.json

Added main field in package, to allow it to be required as a module in npm-land.
Merge pull request #2 from hughfdjackson/master

package.json fix for missing 'main' field.
Making invocation of IIFEs consistent
newlines at end of all files
Upping NPM version
Merging master