Send PMS_ADDR to javascript

PMS_ADR is now sent to javascript, so no need to set it in
application.js.

Custom function to set ratingKey and duration in js on ATV makes XML
easier to read.