Make compatible with Browserify

Moved languages into a single JSON file loaded at the top level. Browserify doesn't support using `require` the way you were doing it.