minimized javascript (onclicks, as handlers registered in .js file);
todo: priv/pub on image in lightview