js tweaks to fix the arrow instead of cross