A terminal written in javascript