Separated browser checks in new file.
Improved init method. Protected againt possible null elements.
Added new file to list.
Revert "Separated browser checks in new file."

This reverts commit 585e9738f7e2c0b84afb82dce82b4eeafddeb855.
Separated browser checks in new file.
Protect against null values.
More html simplification. More non needed code removal.