Merge pull request #1 from xilix/master

at the begining it's only implemented in javascript
Merge pull request #2 from xilix/dev

Merge pull request #1 from xilix/master