Fix Chrome/Opera

Remove default value in prototype of javascript function. Not working on
Chrome and Opera.