fix appendTo option

document.body was not available before (at least in chrome 26).
additionally corrected wrong naming of option.