Add utility methods for AJAX and toggle buttons

This pull request adds utility methods for future app_express addons. These methods were used in `express_blog`