missing js refs and controller changes