Bug 805838 - Add MARIONETTE_HEAD_JS support. r=jgriffin, a=test-only, on a CLOSED TREE