modified index.html to include BASE_PATH in pagination