Client loc

The plugins' localization wasn't being created on the client JS side. @brianhyder, feel free to change to whatever schema you want to make this happen.
@blakecallens: You're concept was spot on.  To reduce time for rendering I separated it out into an API call.  The controller is below.  This also provides a bit of reuse. Well done.