Split blender.coffee out of main coffee file with an eye on testability
Back to plain JS, refactorings