slightly safer jQuery environment