Fix for bm object being absent in the javascript. Type fix for css link.