Deal with EOL with jsframe