fixed an order of script tag