fix bug from adding in js to parse number into thousands with ',' delimiter
add in ajax function to delete treasure