Updates task to allow get rails root on JS config