Add info on calling js functions to README