Fixed some types in README and cleaned up some javascript