compile

fun compile(source: String, fileName: String = "<script>"): JsScript

Parses source once so it can be run many times.