ajax support and minified version