[Update]: added javascript funtion for places organization.