Fixing up some front-end stuff before fully switching to angular