Added configuration for cookie length
Added 'responsive mode' for device agnostic implementations