ver 0.3, umd-style module with dependencies, fix blocks issue, refactor, edits