refactoring, update documentation, create dropdown_align_center.js