Correct mime types are now sent to the browser. Console logging added for requests