1) Added default value for device pixel ratio
2) index.html is loaded from the sources