slimmed down dialer js controller