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.