This document introduces Madgex, a JavaScript library that aims to simplify coding and remove cross-browser headaches. It can select elements using CSS selectors and XPath, then manipulate, modify, and return values for those elements. Methods can be chained together. Madgex supports events, AJAX, and animation functionality. It is small at 19KB minified and gzipped. Developers select elements and then perform actions on them such as setting styles, adding/removing attributes, and handling events.