asked fixes

inline checkIn functions and jshint test