Fixes in pjax and Custom Field