Fixed NodeJS location model