Details updated to run with jQuery