bugfix order javascript and locations list