give me a drop-in replacement that uses jQuery