yapp.js global install fix

For certain platforms, such as Arch Linux, `npm -g` requires administrator permissions. Prefixed the command with `sudo -H` to give permissions while still using the user's home directory