Fixed 2 Syntax error in JS caused by converting calls to newChannelFromURI2