add content-available support. fix #36