Update index.js

service.get() is delivering an undefined result object in certain cases (eg. msec timestamp given by mistake).  This causes forecast to crash.