updated Gruntfile and added pagination