some more js, still need to include sharelocation code