paperjs/paper.js — pull request #156 by ubershmekel (2013-01-01 23:59:01+00:00)
Title: Late load of paperjs should still run paperscripts

See this problem case http://stackoverflow.com/questions/14110205/dynamically-loading-a-script-changes-its-behaviour/14114337 and note how jquery handle it at https://github.com/jquery/jquery/blob/master/src/core.js#L768