function to delete innerHTML from tags, eclim hook for java-mode