ofJSLight interface code