Updated version with base html project support.

HTML needs to be tested for proper compilation. Then math parsing needs to
be figured in.