refactor some code, not allow checkins < half an hour
oh god why
set $el explicitly
preventdefault