setting up single page jquery demo