Update some javascript and rename a column.
Updated a bunch of nuggets, moved JS to .js files and other fixes.