fixing Sonar violations: Avoid use of == and != in favor of === and !==
fixing Sonar violations: Always use curly braces for if/else/for/while/do statements
fixing Sonar violations: Each statement must end with a semicolon
fixing Sonar violations: For-in statement must filter items
Merge pull request #17 from sapumal/sonarfixes

Sonarfixes
fixed indentation
ignored swp files
fixed indentation