added jquery, fixed jq ref