firefox pagination bug fix, templateCache templating partial functions added