add js one liner