Wrap js in libraries