Fix local JS paths