updating config to disable warnings - cleaning up js