moved script tag to after tags element