Look, this is social networking site. If you can't oblige people's suggestions and not get offended or cocky, perhaps you shouldn't post your snippet to begin with. You didn't have to add this line to create a bitter atmosphere > Next time please think about what you are saying before you post.
Perhaps next time you should think about adding that on load event to create a directory first, so that this script will work 100%. Thank you for nothing.
Incidentally, if a user copies and pastes your script directly onto his or her remote without loading, that load event will be purposeless.