[Emulink] Fixed issue in creation per_function, improved state_machine.js structure
Merge pull request #74 from thehogfather/emulink-commented

[Emulink] Fixed issue in creation per_function, improved state_machine.j...