added jquery library and functionality