PortalKit: modify setting.js to remove angularJs call