simple javascript paginator for search lists or blog use