updates to files to fix various error messages on running

Were you guys getting errors on running fingerprint.coffee?

Here were some fixes that I needed to make for it to work.