had to look up how to find the square root of a number in javascript. Put a test sample in the script