 path and other information from the hash
	var filename = "";
	var filepath = "";
	var lastSave = "";
	var fontsize = 12;
	var theme = "github";
	var tabid = "";
	var editor = undefined;
	var isSaved = true;

	window.onhashchange = function(e){
		initEditor();
	}

	$(document).ready(function(){
		setTimeout(function(){
			checkIsSaved();
		}, 1000);
	});

	initEditor();
	function initEditor(){
		if (window.location.hash.length > 0){
			var payload = window.location.hash.substr(1);
			payload = JSON.parse(de