JS span arrow bugfix