added js for page 2
Merge pull request #1 from varunrau/second-page

added js for page 2