add jquery and imagebox support.