got part of it working
finally got ajax working without pjax