javascript testing update