more snippets and some cloned js ajax handlers to look at