add requirejs demo
throw error when jquery not found
optimize amd require
update dist