Changed js code.