Adds testModus as JS variable to edit-version view