Getting the javascript code working for my personal locator iPhone App ...?