added jquery and front end