Replace Bootstrap by Sass version of Foundation
Refactor all JS functions