added jquery and mobile optimization