moved script tags from head