add approximation
minimized css and js; fix context clear
added analytics