js now working in build