Fix javascript paths.