modified install script to error if node or npm aren't installed

this patch should close issue #298