Update 5.4
Fixed some bugs with detachDom.
Misc bug fixes.
Added e2e test for detachDom.