if dojo/jquery isn't loaded yet, don't throw an error just return no elements. the client can handle that however it wants (back off and try again soon, probably)