removed require dependcy and switch to jQuery to prepare clientside use