Removes dependence on jquery