Stopped reinventing the wheel and switched to PJAX.