Changed doc ready to DOMContentload