sloppy jquery fix for demonstration