add js in example