Merge pull request #12 from jchn/master

Fix string interpolation
Fix that this is triggered twice when using form elements