fix bug that causes jquery plugin not to be found

I suspect that this isn't the correct/best way to inject jQuery as a dependency. Let me know if there is a better way. This fixes #19.