javascript 'continue' fix.