Update Alert.cpp

Updating the fix from Enterprise Browser Branch: https://github.com/rhomobile/rhodes/commit/5757080009a8804d95fe4dbf8ec4574e0a974066