fix highlight to click for embedding, cleanup dependencies

This should resolve the issue @etobey was seeing with highlighting the embed code in #96. It restores the click to highlight functionality. There's also some automated editor whitespace cleanup, as well as the removal of a couple of obsolete dependencies.