add js and timestamp