seperate out bootstrapping less and the browser api
Allow replacing visitors to return undefined. Fixes #2252
v2-b3 release
merge upstream/master to master