Split scope into js and th
Correct extension