Removed library dependency on JQuery