Externalizing pagination template, adding stSearchSelect

Fixed the problems that ‘gulp lint’ reported.