extracted bootstrap js pagination plugin into a separate file