testing httpjavascript