Modified application loading from index.html