maintain backwards compatibility with jsm