square root approximation in lisp and js