js controller cleanup