Use Begin/End pattern to not break .Net 4 compatibility.
brackets and removing commented code
Merge pull request #491 from bjarteskogoy/JsBinding_WIP

Use Begin/End pattern to not break .Net 4 compatibility.