The client script triggered when I added logic outside pageinit function.
function pageinit()
{
}
//Logic to hide subtabs.
Also I noticed that, I uploaded client script in the destination folder in the netsuite file cabinet, but script was not in the customization - scripting- client scripts list page.