Is it possible to tell if scroll lock mode is currently on through javascript without capturing scroll lock key press event (key was pressed outside of the browser)?
No. As you can see in the Event interface properties, there's no scroll lock key state.