added format definition and two deps for systemjs loader at the beginning of the file

this makes the file compatible with [systemjs](https://github.com/systemjs/systemjs#) module loader, for some reason it caused errors. Even though this could be a bug in systemjs itself, it would be nicer to provide info about the module and don't require every systemjs user to define this for themselves.
Also I am sorry that I comitted this into master branch on my fork, hope this is not a big problem. I have read the guidelines a bit too late.