got it firefox compliant, removed some js files, and extracted to more js files