changed the js initialization to match the foundation 5 syndax