Fix remove picture javscript