minor fixes, add support to bill_detail, remove old tagging js code