Update blocklayered.js

function paginateButton does not work with "p" GET parameter in first position, regex only took &p and not ?p.