wm: prepare for removing rubyvm from js application to reduce cab-file size