Update Javascript configuration