Changing to Javascript

Major functions slowly changed to javascript.
To do list:
- Winnow Training
- Twitter Search
- Word Cloud
- Positive-o-meter