Fix removal of non-timer events

js_callback_t was not being properly retreived.
14 jobs for master in 12 minutes and 54 seconds (queued for 12 seconds)
Status Name Job ID Coverage
  Build
passed jsdoor-freebsd #17690
FreeBSD

00:05:21

passed jsdoor-linux #17691
Linux

00:05:23

passed jsdoor-windows #17693
FreeBSD

00:02:30

passed sbbs-freebsd #17685
FreeBSD

00:07:26

passed sbbs-linux #17680
Linux

00:08:43

passed sbbs-windows #17683
Windows

00:05:15

passed sexpots-freebsd #17692
FreeBSD

00:00:11

passed sexpots-linux #17681
Linux

00:00:19

passed sexpots-windows #17684
Windows

00:00:25

passed syncdraw-freebsd #17688
FreeBSD

00:00:25

passed syncdraw-linux #17689
Linux

00:00:28

passed syncterm-freebsd #17686
FreeBSD

00:01:16

passed syncterm-linux #17682
Linux

00:02:23

passed syncterm-windows #17687
FreeBSD

00:02:17