Update localization.js

Like Lang::get() in Laravel, if messageKey is the name of a lang file, return it as an array