Fix var names, 'type' is a loaded word in ES so don't use it if it does not mean doc type
Fix name in credits
Version Bump to v0.3.1