Added prom so that functions .on('ready') is integrated.

Let's test it. WHOO.