Add client js and debug logs