add a image edit widget js file