Changed readme
Changed != null to !== undefined in record.js
improved != to !== undefined
Removed global i