Afsin

Please take a look at the API (recordjs/index.js) and its documentation (docs/recordjs.md) and let me know any issues.