revise javascript for laporan_cabang