Create javascript test environment