Find product by slug now.
Use add_routes and simplify js files.