Affix js with vanilla js