Converting Collapsible module to JS.

**Description**

On our way to converting CoffeeScript code to JavaScript. PRs in this series: [2616](https://github.com/edx/edx-platform/pull/2616).

**Reviewers**

- @dianakhuang