Updated to Foundation 5 (with some restructuring)
Fixes for javascripts after update to Foundation 5