add js callback on add showing