Making things configurable and checking for browser support.