Update index.html

trigger_sample() is now only meant to be a boolean.