script tidy up
Switch to angular