Onerror tweaks

check stack for an object. ie seems to give colNumber at 4th position.
And convert the stack with stacktrace.js