refactored collapsable.js to be a require module
moved to correct folder and modified loading to work correctly
added unit test for collapsable