www: Added comments, renamed variabled for clarity

Added some comments and renamed a variable to make it clear what the
different state variables in the PrefixAddController are there for.