Fix the non-jquery "addClass" issue