Merge pull request #17 from Geodan/master

merge from origin
Changed readme
Changed != null to !== undefined in record.js
improved != to !== undefined
Removed global i
Merge pull request #89 from tomvantilburg/master

removed global var i