var hzCurUrl, hzCurWait, hzOnAlbum = false;
var hzLinks = document.getElementsByTagName('a');
for (var i=0, l=hzLinks.length ; i < l; i++) {
	hzLinks[i].addEventListener('mouseenter', hzMouseOn, false);
	hzLinks[i].addEventListener('mouseleave', hzMouseOff, false);
}
window.addEventListener('load', hzResize, false);
window.addEventListener('resize', hzResize, false);
window.addEventListener('wheel', hzWheel, false);

function hzMouseOn(e) {
	hzCurUrl = e.target.toString();
	self.port.emit('worker', hzCurUrl);
}

function hzMouseOff(e) {
	if(!e || e.relatedTarget) {
		hzCurUrl = hzOnAlbum = false;
		self.port.emit('hide');
	}
}

function hzResize(e) {
	if(hzCurWait) { clearTimeout(hzCurWait) }
	hzCurWait = setTimeout( function(){ hzReportSize() }, 100);
	if(e.type == 'load') { window.removeEventListener('load', hzResize, false) }
}
function hzReportSize() {
	var x = window.devicePixelRatio * document.documentElement.clientWidth;
	var y = window.devicePixelRatio * document.documentElement.clientHeight;
	self.port.emit('winSize', x, y);
}

function hzWheel(e) {
	if(hzOnAlbum) {
		self.port.emit('wheel', e.deltaY);
		e.preventDefault();
		e.stopPropagation();
		return false;
	} else {
		hzMouseOff(null);
	}
}

self.port.on('album', function(state) { hzOnAlbum = state });
self.port.on('click', function(state) { if(state && hzCurUrl) { window.location.href = hzCurUrl } });
@@ -1316,29 +1316,15 @@
 ion(
-state
 ) %7B if(
-state && 
 hzCu
@@ -1364,12 +1364,13 @@
 CurUrl %7D %7D);
+%0A

Update page-mod.js