Fixing minor issue due to mistake when refactoring code to dom module (appendChild should have been appendTo)