Fixed deoptimizations for V8
Optimized the invoke method.
Refactoring the invoke method.
Merge pull request #60 from B-Vladi/master

Fixed deoptimizations for V8, optimized the invoke method.