Added dependency for xmlhttprequest