update js - fix for routes