Updated Screencapture class to 'Capture'. Modularized V8 code needed to get stuff to JS