fix script-source data attribute

update documented attribute and implementation in source
add description of script tag