Consistent code style
1. Add callbacks; 2. Move private methods to the begin of methods list; 3. All JS types starts with Uppercase letter
Merge pull request #106 from miripiruni/master

Fix for #77