Bug #4484 bug in wait.static.php

http://tracker.modx.com/issues/4484