js: beginning cursor indicator