Move else if (__DEV__) into two statements

The minification stage doesn't like `else if (__DEV__)`.
Merge pull request #325 from spicyj/elseifdev

Move else if (__DEV__) into two statements