Just trying to recreate some JQuery functions in a seperate library.