improved Browsercast initialization