added js for expande and collapse