Deleted superfluous;
html page used plugin
detect changing of two face positions: near far
sleep 100 to 400
html page - scaling