Make sure works with browser globals and publish to bower