JS Optimization of Places