Foundation javascript works when coupled with .ready()
Removed some stuff