Fixing issue 133. Pagination now works for job history page.
Declaring javascript variable such that it doesn't become global.
Merge pull request #134 from azkaban/issue133

Fixing issue 133. Pagination now works for job history page.