Added ajax calls implementation using jquery & solved multiple pages iss...

...ue