Define dinamically the controller within js starters