shape radar w/ html5 + js