Fix JS errors when using 'Add New Profile'