Improve content and JavaScript behavior.