Browser detection with PC/MAC/Other layouts (onload)