Pulling out settings into a separate .js file