Fixed the evaluation of JS scripts
Tried to fix the evaluation of self-executing function without braces
Merge pull request #61 from stof/evaluate_script

Fixed the evaluation of JS scripts