chjj/term.js — pull request #40 by xsellier (2014-08-06 15:43:00+00:00)
Title: Create a html element if it does not exists, to prevent out-of-bound err...

If we open 'vi' on an existing file (with more than 5 lines) and we push on "Pg Dn" then "Pg Up" we got an exception about a non-existing element.

These modifications create an element if it does not exists.