Add phonegap support.