Changed IDs to Classes in JS