fix runtime.js fs error

runtime.js require('fs') is not defined