Unified indentation with spaces
Missing some ;
Add default values and specify which values are mandatory
Merge pull request #1 from archiloque/master

Small code clean + adding default parameters