Reduce JS runtime warnings and errors

Description

Fix or otherwise deal with JS warnings and errors, then turn on test fail for warnings.

Make PR with warnings=error, fix and push.

Pull request: https://github.com/zanata/zanata-server/pull/1072

Status

Assignee

Sean Flanigan

Reporter

Damian Jansen

Labels

Tested Version/s

None

Epic Link

Components

Sprint

None

Fix versions

Priority

unspecified
Configure