Update index.html

The library function is receiving a function not the module.