Added workaround for not called onaddstream callback in FireFox (see https://bugzilla.mozilla.org/show_bug.cgi?id=998546.).
Fixed indentation.