Radius formel in Javascript