Fix JavaScript path