minor fix (alert box js)