Aligning comments with definition for waitForElements, adding error message if waitForElements is not an array
Using https url for yui defaultAppSeed