Remove unnecessarily if check
Merge pull request #357 from jurianeven/strapperjs2

Remove unnecessarily if check