remove nonused API & fix js cache issue