fixed issues of dependencies used by node modules as well as the header menu flashing. Fixed #3