Rebase of pull request #1
- Updated recorder.js.
- Added debug function and parameter