add in js support to logviewer