Made front-end compatible with v8. Fix #147.
Merge pull request #149 from darkowlzz/v8Compat

Made front-end compatible with v8. Fix #147.