very small fix to avoid trying to access a property when a class has no properties.
Remove npm preinstall
Merge pull request #5 from infosia/patch-1

undefined_fix