Javascript compiler in json