Change the whole thig to work with jquery instead. Nodewebkit makes the backend and frontend to attached