Comments

- Added some comments
- hasBom function is now single line