Added jQuery functionality