Edit profile: optimized size of html for better performance