Robust Javascript Integration Testing