Trimming trailing whitespace
Adding parseInt to n var
Merge pull request #6 from voceconnect/issue_5_typecast

Issue 5 typecast