remove unused try catch to seperate node and component/browserify