Extracted validation for checkin into view.  Also cleaned up some issues with js build