If oninput is not supported, use onchange. Also, do some basic checks for web worker and querySelector support and alert the user if they aren't supported (since they're required [at least at present])
Normalize some varying bracket styles