yapp.js global install permission 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