Correct javascript paths.