fix error in webjs