main js broken dont know if i shall keep it but fixing something for now