making sure to return function object

https://github.com/zurb/foundation/pull/2239