js extract fix