Fix for js threads

Thread in js will be never completed because BBThread class defines Run__UNSAFE__ method as an abstract and overrides behavior by default.

I added the Run method, which is called by Run__UNSAFE__ and completes the thread