add js and lua example