Fixed Laravel 5.0 compatibility.
Fixed Laravel 5.0 compatibility.

Laravel uses an old system to set name attribute and options.

andywer/laravel-js-localization,andywer/laravel-js-localization,andywer/laravel-js-localization