added jquery and snap