adding .jshintrc
adding constructor to book