pagination added, fixed javascript sources