Client Scripts are meant for use with the triggere...
# suitescript
d
Client Scripts are meant for use with the triggered events on the page. The "View" mode doesn't trigger any events. In theory it could trigger the pageInit but it doesn't.