Removed underscore and jquery hard dependencies for amd and CommonJS

Using requirejs and other such libraries would fail due to the explicit dependencies. The library works without them, but could potentially cause issues for people wanting to use jquery, underscore or alternatives. I couldn't find a nice way to do optional dependency injection - though there probably is a way - so if anyone has a better solution, please go ahead.