Javascript code Daquan 1.0