remove unnecessary js