Javascript app to perform land surveying calculations