add function onBootstrap into Homepage\Module