add js for html editor