removing unnecessary js