JSHint
Move some event ending code into interact.stop