Form Collapse not working perfectly all the time when using js embed code