Web browsers disable some Javascript features for security reasons.
My bet is that you just hit Google Chrome forbidding XMLHttpRequest
on local files by default (see this answer on SOthis answer on SO for how to disable that, but beware: this is dangerous). See this page on the Chrome dev site for details.
This is why you have to setup a local HTTP server to workaround the security lock.