Fixed javascript of configuration frontend 2