Input controller, Company Input, Clean up JS