enqueue js instead of adding it directly to the html