Micro jquery substitute for modern browsers