removed JQuery code having removed dependency.