add js source to examples