Tried to implement CustomLogger extension in JavaScript.

Having issues getting UI to update.

Based on CustomLogger.py, which is also in this commit.