updated smallFromNow to use moment to create milliseconds for phantomjs