Replaced Foundation js call