JavaScriptEvaluator#add_function

Signed off by: Alessandro Palmeira <alessandro.palmeira@gmail.com>