Compiles JSON files into Javascript