JS - Settings Submenu

Also edited the profile template if statements to reject empty /
deleted fields as well as undefined.