Fix bug in windows

Uses .load() instead of .ready()