changed from .json to .js and moved to js folder