added condition to support none href modification 

This is for compatibility with routing single page applications.
By setting hrefTextPrefix to null the paging links can have href set to 'javascript:void(0)'