Add browserify. Organize files.

Delete generated files.
Remove wrong license.
Delete dead html.
Move card functions to separate module.