made browserclient wait for DOMContentLoaded before firing listeners