JS cleanup
fixing the M triangle