Newly appointed Chancellor of the Exchequer Sajid Javid said he was "hugely privileged" to be given "such an important role" and is looking forward to working with new prime minister.