remove unnecessary js scripts