Revert "quick fix for npm package problems"

This reverts commit eb6da1c878450afc8bfaea64f7976bb113e83af8.