Adding JS checks for jquery and some BS components

- checks for dropdown and collapse
- It will be assumed that you know what you are doing if you are using the individual component files.