This page has been moved to /articles/2014/01/javascript-invoke-function/