add wait into web_test.coffee