JS update cursor blink