Slowly reducing dependency on jQuery by introducing other handlers