style fix
Fix javascript/base errors when mod_rewrite is not enabled
CHANGELOG for javascript/base
Fix quota checks when max < min, or when promoting and max = 0