added jquery and simple vars