Functions Using Javascript On Ios Browser With Extensions