add js record