wait for Evergreen to be defined in javascript