upgrade query and use a cdn
add touch support #8
remove unused function