adds javascript to parent project