Removing duplicate foundation js