Improve install.sh, grumble about uninstall.sh

note the addition of lib/functions.sh.
Add a basic .jshintrc