Adjust default node and baseUrl when using non-default dom