use Etag, fix #18
add Access-Control-Allow-Origin, fix #19