added jquery plugins and brought in some P2 stuff