javascript: fix for test007