would help if i attached the correct js file