Completely eliminated dependency on jQuery