UI - remove unused js code