Real Time in ace.js

Integrated real time with ace, index modified to make editor perform
real time as well