make checkbox added by js and only add it when feature available