Added a copy of the working javascript code for dynamic lists