Alias float to js number type

Properly type sourceDivergence as float.
Merge pull request #18 from cassiedoll/float

Merging: Alias float to js number type