Refactored the build process to make sure both web and node js files get optimized correctly, in terms of dependencies and naming convention redundance.
Fixed typo
Add check on if display is undefined in the case no display text provided, like {www.google.com}