Page navigation

Allow the user to navigate through the pages when refining search.
Yes we are. I'm using a 80 character limit. I've found it quite difficult to keep under the limit with all the nesting that JavaScript uses. Do you know of a better way to do it?