Tested performance of JS location optimization