get rid of hard dependency on jquery

This pull request removes the hard dependency on jQuery for those who do not wish to use it.