js changes and a few new api urls