Add compat doc for os.js