Fixed document not defined error in travis, woho, this is a global property man