trying to shed my jquery dependance!