adding heapanalytics js