Fixat pagination i js.
Merge pull request #2 from davidsoderberg/tableJs

Fixat pagination i js.