Added static js generated by ftl.
Fixed js form.
Fixed keepalive after refresh.
Started impl for starting serv.