Set options for JS.