question: public static Map < String , Object > loadJsonModel ( File jsFile ) { try { Map < String , Object > model = JavaScriptResolver . readJsonModel ( jsFile ) ; if ( model == null ) { throw new CompilerErrorException ( "Can't find metamodel definition in " + jsFile . getAbsolutePath ( ) ) ; } if ( ! model . containsKey ( "$mod-bin" ) ) { throw new CeylonRunJsException ( "The JavaScript module " + jsFile + " is not compatible with the current version of ceylon-js" ) ; } return model ; } catch ( IOException ex ) { throw new CompilerErrorException ( "Error loading model from " + jsFile ) ; } }
target:  Read the metamodel declaration from a js file, check it's the right version and return the model as a Map. 