Use states.js from routes

It shouldn't route through assets, its a route through the core