Preserve all custom script data attributes

#183