Make the AMD API match the rest of the APIs

If I require js-beautify from node, I get back an object. If I require it (I use Common.js wrapper from RequireJS) in the browser I get the beautify function itself. These should match.