Moved JS to bottom; testing PhoneGap alerts