removed nonsense js blocks