use ali.regenerator to skip download esprima from github

Also add a test for callback request