Refactoring without jQuery
We dont need server at all