project controllers and js