Merge pull request #94 from yeah/master

Catch exceptions caused by illegal selectors with document.querySelector