Javascript remote console logging work in progress