changed default extension to .json with .js fallback, closed #16