More resource tidy
Different message when no entitlements. closes #678
Change script to r:script tag in subscription details page
All script tags replaced with r:script to defer inline JS to after resources have loaded libraries.