Updated JS for accordion.