Add ga js functions