code: public static List<String> getSupportedOutputFormats() throws IOException {
  		ScriptRunner runner = getRunner();
  		try {
  			return runner.callMethod("getSupportedFormats", List.class);
  		} catch (ScriptRunnerException e) {
  			throw new IllegalStateException("Could not get supported formats", e);
  		}
  	}
docs: Calculates a list of supported output formats
  @return the formats
  @throws IOException if the underlying JavaScript files could not be loaded