Simpler would be just $('realtime-start').addEventListener('click', start).