NodeJS controller global ready event