add libraries for the add and edit forms