Remove TEN_GEN and JAVASCRIPT modes