fixing codemap ajax-create