fix routes for js libs