Added client scripts to load logic for adding an app and editing apps