Removed unnecessary JS. Improved error handling for checkins