declare n at use points in runtime.js

declare n at use points in runtime.js