added jquery
add js function