stealable version of the now deperacated jquery-tmpl