GTNPORTAL-2549 Don't load portlet javascript when edit portlet