Updated javascript for CSR note