added js, altered config file