wcag2.js refactored to allow launch from options