Adding resource exists check in JSpellMarkerFactory