Update recorder.js

Replace function did not replace all classes, script failed on clicking dom items with more then 2 classes
Merge pull request #7 from altryne/patch-1

Replace function does not replace all occurences