The google team rewrote Javascript to adapt it to modern browsing standards. They also invented this little thing called V8, which isn't hard to find out about.
Basically it makes stuff go FAST.