browserstate/ajaxify — pull request #5 by dhr (2013-04-09 18:50:44+00:00)
Title: Let dynamically loaded scripts execute in-order

Dynamically inserted scripts load asynchronously. If scripts within $dataContent are order-dependent, this causes problems when the page is ajaxified, since there is no execution-order guarantee for these scripts. By setting 'scriptNode.async = false;' when this attribute isn't specified as true explicitly, dynamically inserted script nodes can be made to execute in-order (while still loading asynchronously). See http://wiki.whatwg.org/wiki/Dynamic_Script_Execution_Order.