Database move to Azure, change code accordingly. Some changes to javascript