compile string expressions into javascript functions with contextual variables.