Image and .js clearing