write function def and docstring
add main, which reads input using fileinput
add a simple file to start testing with
trivial lxml fiddling
find the tags we want to mess with
initial fetch/insert of javascript