Precompile custom wrapper from rhengles' PR

It's useful for fs module limited node env which can not load html template, but we can precompile it into js module by add custom module wrapper.