Load boostrap and jquery from CDN

Add thread synchronization to listeners map