split htm and js