changed event onclick by ontouchend
changed order of cachePush so onSucess does not win the race
fixed misordened parameters for initcustomevent