moved js into root