Fixes jQuery error when a plugin is on page

Closes #164 by merging it.