updated jquery version
refactoring doc for BS3

and added mainImageClass option