adding place JavaScript