support js css mrege fix #641