using recorderjs for recording sounds; separating js from html