Add a few DOM helper methods and modify appendCss method to support callbacks