fix javascript/angular