Imrpoved for
Revert "Imrpoved for"

This reverts commit cdf28fd3d0ab6d756a0c040141ae537b6473693c.
Improved for Phonegap.

changed a line of code so that it can be opened via Phonegap.