added function to get jquery. added pages demo