added a scopped reference for bbcode since in node, there is no global object