added calls for http/ajax funtions
cleanup