Fix behavior to meet the javascript version