Renamed 'loopJS', 'threadDelayJSB' and 'yieldJSB' according to naming scheme.
Fixed examples.