removed comments from capture.js