tidying up my hammer.pull-refresh plugin