Prevent computer or display sleep with HTML5/JavaScript