make sure Wordpress is available before enqueue assets