Fixed bug where jQuery was not supported