Fix bug with flatten global $page array
Add ability for client-side plugins to use own locale strings