allowing module to load html by itself
fix syntax error
improving performance by not reloading library dependencies
improving module
adding type for documentation