Fixed JavaScript path stuff.