fixed wrong position of script tag