The Javascript web part inserts JavaScript onto the page where the web part is placed. The script can either be defined in-line or retrieved from an external file.