WIP captain treasure AJAX