starting to remove jQuery dependency