working pjax generator script
OK, really working this time for realz