remove scripts from index.html and repair upcoming controller