You need to add lib.jar into [WebProject]/WebContent/WEB-INF/lib/lib.jar,
Then generate all Web Project and now you can use the Lib.
Make sure you copy into WebProject Folder. And make sure you are importing the right Lib's into the Script component (Remember to read your lib documentation).
Best Regards.