Communication between iFrame and Phonegap, Finalized/Cleaned up some things