added jquery dependency and config object