CLC-4294 - Remove foundation panels dependency & fix JS error on styles page

https://jira.ets.berkeley.edu/jira/browse/CLC-4294
Merge pull request #2975 from christianv/CLC-4294

CLC-4294 - Remove foundation panels dependency & fix JS error on styles page