added callJs method to call external libraries;
example:
  def result = callJs.[string]("markdown.toHTML", Source);