added grunt server
and dispatches an event when state of stuckness changes