Added error checking on code run and also jslint to codemirror to display errors/warnings