ported jq functions to main.js / added collapse function to region&language filters + necessary css changes