St James school triumphs in environmental programme