changes js settings not working on server