I usually end up using “Embed Code”.
It seems to strip my javascript. This hurts since we’ve been friends for years.
Heart-broken 🙁
With SP2013 it might be a better idea to use ScriptEditorWebPart.
As for the script stripping, check out web app policies/settings regrading enabling scriptable content. The second option is to use ContentLink and store html/js content separately.
Finally, “since we have been friends” story just points to the lack of skills. RTFM is the better friend.