how to solve third party closure lib