Add logging library for JS.