added jslint node mode and use strict to get rid of some pesky errors, decided to go forward with the book and overlook the errors.