Update manager.js

added function CreateImg()