debugging server side JS