completely removed dependancy of jQuery