Strips javascript code blocks out of README (or any other markdown) files and converts them into function objects