add js for plugin