Fixed scripts so they all support the AngularJs app build