added aria attributes to edit mode
removed unused and old hasFlash() JS function