add tail.js library
add server library and update tail.js to properly kill processes
add frontend