Small corrections for chromium
Correct overload bug in javascript