removed alerts and changed to $.ajax call from BlackBerry