fix Upload Bug (Yiistrap/Bootstrap)

When you use Yiistrap or Bootstrap3 you can not Upload file. 
The only way (that i found) how to fix it, add JS migrate code. 
It work fine.