updated version of localjs