Capture Webpage Screenshot and JS-DOM