Adding npm dependency and fixing typo