Ported python code to static webpage

Ported generator to javascript inside a little static webpage.
Merge pull request #1 from darkliquid/master

Ported python code to static webpage