see #196 missing jQuery closure