Fix JavaScript paths