Cleanup UI javascript. Update README.md