Fixed the javascript stuff.
Fixed the terminal stuff.