I think I fixed the javascript only firing once issue