set ojs as global