refatored half of the client-side javascript

listen on discore instead of $window

combine the toggles

combine collapses

cleanup media block and nav affix

cleanup masonry, vanilla masonry

add destroy method.

make check and validate better

fluid submit

loading

finished the rest of the forms