Dojo and jquery snippets