refactor some js, and fix bug in api keytest
correct wind speed