Adds missing JS-code
reformats config