"operating system" in HTML5/JavaScript