adding js code to open first accordion if none are open