V2.0 in javascript