Fun with promises—wrapping reload inside promise