Fixed a bug in Broadcast JS