bad practice, leading the next function to be load as js