Created IncrementalFontLoader class, and refactored code accordingly

Adding comments to js docs