Rewrote some javascript to use jquery for better compatibility
Rewrote some javascript to use jquery for better compatibility