Fixed a bug with browserlink enabled causing corrupt output. close #2