ensure js libs available